﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace InvRec
{
    [ComVisible(true)]
    public class CompleteEventArgs : EventArgs
    {
        public bool IsSuccess { get; private set; }
        public string Error { get; set; }

        public string ImageSrc { get; private set; }

        public CompleteEventArgs(bool isSuccess, string path)
        {
            IsSuccess = isSuccess;
            ImageSrc = path;
        }

        public CompleteEventArgs(string error)
        {
            IsSuccess = false;
            Error = error;
        }
    }
}
